package com.suncreate.zhtz.iot.model;

import java.util.Date;
import java.io.Serializable;

/**
 * 预警策略配置列表(ScWarningStrategy)实体类
 *
 * @author makejava
 * @since 2021-09-08 13:37:13
 */
public class ScWarningStrategy implements Serializable {
    private static final long serialVersionUID = -66512562469240189L;
    /**
    * 序号
    */
    private Integer straId;
    /**
    * 告警配置名称
    */
    private String waringname;
    /**
    * 轻微异常
    */
    private String weakalarm;
    /**
    * 中等异常
    */
    private String middlealarm;
    /**
    * 严重异常
    */
    private String hardalarm;
    /**
    * 关联采集器
    */
    private String collector;
    /**
    * 关键数据项
    */
    private String dataitem;
    /**
    * 数据项类型
    */
    private String dataitemtype;
    /**
    * 是否启用(0 代表是 1 代表否)
    */
    private String enable;
    /**
    * 是否自动生成工单(0 代表是 1 代表否)
    */
    private String autoorder;
    /**
    * 创建人
    */
    private String createname;
    /**
    * 创建日期
    */
    private Date createtime;
    /**
    * 数据存储位置
    */
    private String savelocation;
    /**
    * Kafka主题名/数据库全限定名
    */
    private String topicname;


    public Integer getStraId() {
        return straId;
    }

    public void setStraId(Integer straId) {
        this.straId = straId;
    }

    public String getWaringname() {
        return waringname;
    }

    public void setWaringname(String waringname) {
        this.waringname = waringname;
    }

    public String getWeakalarm() {
        return weakalarm;
    }

    public void setWeakalarm(String weakalarm) {
        this.weakalarm = weakalarm;
    }

    public String getMiddlealarm() {
        return middlealarm;
    }

    public void setMiddlealarm(String middlealarm) {
        this.middlealarm = middlealarm;
    }

    public String getHardalarm() {
        return hardalarm;
    }

    public void setHardalarm(String hardalarm) {
        this.hardalarm = hardalarm;
    }

    public String getCollector() {
        return collector;
    }

    public void setCollector(String collector) {
        this.collector = collector;
    }

    public String getDataitem() {
        return dataitem;
    }

    public void setDataitem(String dataitem) {
        this.dataitem = dataitem;
    }

    public String getDataitemtype() {
        return dataitemtype;
    }

    public void setDataitemtype(String dataitemtype) {
        this.dataitemtype = dataitemtype;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getAutoorder() {
        return autoorder;
    }

    public void setAutoorder(String autoorder) {
        this.autoorder = autoorder;
    }

    public String getCreatename() {
        return createname;
    }

    public void setCreatename(String createname) {
        this.createname = createname;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getSavelocation() {
        return savelocation;
    }

    public void setSavelocation(String savelocation) {
        this.savelocation = savelocation;
    }

    public String getTopicname() {
        return topicname;
    }

    public void setTopicname(String topicname) {
        this.topicname = topicname;
    }

}
